/* Custom login page styling for Upsystem */

:root {
  --ups-primary: #0e7afe;
  --ups-text: #1f2937;
  --ups-muted: #6b7280;
  --ups-bg: #f6f8fb;
  --ups-surface: #ffffff;
  --ups-border: #e5e7eb;
}

html, body { background: var(--ups-bg); color: var(--ups-text); }

/* Hide default ERPNext web header/footer for this page */
header.navbar,
nav.navbar,
.website-navbar,
.website-footer,
.web-footer,
.page-head,
.page-header,
.breadcrumb-container,
.page-breadcrumbs {
  display: none !important;
}

.page-content,
.main-content {
  padding-top: 0 !important;
}

.ups-login-hero {
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1fr minmax(360px, 420px);
  align-items: center;
  gap: 32px;
}

.ups-hero-graphic {
  padding: 40px 20px 20px 20px;
}

.ups-hero-title { font-size: 44px; font-weight: 800; margin: 12px 0; }
.ups-hero-sub { color: var(--ups-muted); font-size: 16px; }

.ups-login-card {
  background: var(--ups-surface);
  border: 1px solid var(--ups-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ups-login-card .head {
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.ups-field { display: grid; gap: 6px; margin: 10px 0; }
.ups-input {
  border: 1px solid var(--ups-border);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}

.ups-actions { display: flex; align-items: center; justify-content: space-between; }
.ups-btn {
  background: var(--ups-primary);
  border: 1px solid var(--ups-primary);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  width: 100%;
}

.ups-link { color: var(--ups-muted); font-size: 12px; text-decoration: none; }
.ups-link:hover { color: var(--ups-primary); }

.ups-lang { font-size: 12px; color: var(--ups-muted); display:flex; align-items:center; gap:6px; }
.ups-lang select { min-width: 140px; }

.ups-navbar { height: 64px; display:flex; align-items:center; }
.ups-brand { display:flex; align-items:center; gap:10px; text-decoration:none; color: var(--ups-text); font-weight: 800; }

@media (max-width: 900px) {
  .ups-login-hero { grid-template-columns: 1fr; padding: 0 16px; }
}


